package com.siyuanren.gcocp.mapper;

import com.siyuanren.gcocp.entity.Word;
import com.siyuanren.gcocp.mapper.base.WordMapper;

import java.util.List;

/**
 * Created by   anxing
 * Project_name enword-java
 * Path         com.siyuanren.gcocp.mapper
 * Date         2018/11/5
 * Time         14:49
 * Description
 */
public interface WordExtMapper extends WordMapper{
    /**
     *
     * @param partId
     * @return
     * SELECT DISTINCT word.id, word.* FROM word_part_relate wr,  word WHERE wr.part_id=555 AND wr.`word_id`=word.`id`
     */
    public List<Word> getRelateWord(Integer partId);
}
